import controlPanel from './control-panel/index'
import operatePanel from './operate-panel/index'
import wechat from './wechat/index'
import groupPanel from './group-panel/index'
import statisticsPanel from './statistics-panel/index'
import finaceMoney from './finace-money/index'
import operationLog from './operation-log/index'
export default {
    path: '/home',
	name: 'home',
	redirect:'/home/control-panel/welcome',
    component: () => import(/* webpackChunkName: "home" */ '@/views/home/home.vue'),
    children: [
        ...controlPanel,
        ...operatePanel,
        ...wechat,
		...groupPanel,
        ...statisticsPanel,
		...finaceMoney,
		...operationLog,
		{
			path: '/404',
			name: '404',
			component: () => import('@/views/404.vue')
		}
		// {
		// 	path: '/power-panel/user-power',
		// 	name: 'user-power',
		// 	component: () => import(/* webpackChunkName: "user-power" */ '@/views/home/power-panel/user-power/tab-control.vue'),
		// 	meta:{
		// 		tabs:[{ label: '权限编辑', name: 'power-manage', component: () => import(/* webpackChunkName: "power-manage" */ '@/views/home/power-panel/user-power/power-manage.vue') }],
		// 		keepAlive: false
		// 	}
			
		// }
    ]
}